﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MODEL
{
    public class Classes
    {
        public Classes()
        { }

        #region Protected Properties
        protected int _cID;
        protected int _cGID;
        protected string _cName = String.Empty;
        protected int _cCount;
        protected bool _cIsDel;
        protected DateTime _cAddtime;
        #endregion

        protected Grades _cGrade;
        /// <summary>
        ///  班级所属年级
        /// </summary>
        public Grades CGrade
        {
            set { _cGrade = value; }
            get { return _cGrade; }
        }

        #region Public Properties
        /// <summary>
        ///  班级表ID
        /// </summary>
        public int CID
        {
            set { _cID = value; }
            get { return _cID; }
        }
        /// <summary>
        ///  班级所属年级ID
        /// </summary>
        public int CGID
        {
            set { _cGID = value; }
            get { return _cGID; }
        }
        /// <summary>
        ///  班级名称
        /// </summary>
        public string CName
        {
            set { _cName = value; }
            get { return _cName; }
        }

        /// <summary>
        ///  学生总数
        /// </summary>
        public int CCount
        {
            set { _cCount = value; }
            get { return _cCount; }
        }

        /// <summary>
        ///  删除标志
        /// </summary>
        public bool CIsDel
        {
            set { _cIsDel = value; }
            get { return _cIsDel; }
        }

        /// <summary>
        ///  新增时间
        /// </summary>
        public DateTime CAddtime
        {
            set { _cAddtime = value; }
            get { return _cAddtime; }
        }
        #endregion
    }
}
